# apps/roles/filters.py
import django_filters
from .models import Role


class RoleFilter(django_filters.FilterSet):
    is_active = django_filters.BooleanFilter(field_name='is_active')

    class Meta:
        model = Role
        fields = ['is_active']